package cn.com.w.dao.Entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
/**
 * <p>
 * 角色表
 * </p>
 *
 * @author wangJK
 * @since 2025-04-25
 */
@Getter
@Setter
@ToString
@TableName("sys_role")
//@ApiModel(value = "SysRole对象", description = "角色表")
public class SysRole implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    //@ApiModelProperty("主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 角色名
     */
    //@ApiModelProperty("角色名")
    @TableField("role_name")
    private String roleName;

    /**
     * 角色描述
     */
    @TableField("role_desc")
    //@ApiModelProperty("角色描述")
    private String roleDesc;

    public static final String ID = "id";

    public static final String ROLE_NAME = "role_name";

    public static final String ROLE_DESC = "role_desc";
}
